package ch2.ex14;

import static ch2.ex1.Print.*;

public class StringCompare {
	
	static void f(boolean b){
		if(b == true)
			println(true);
		else
			println(false);
	}
	
	static void stringTest(String s, String t){
		f(s==t);
		f(s!=t);
		f(t.equals(s));
		f(s.equals(t));
		
	}
	
	public static void main(String[] args){
		String s = "strong", t ="tall";
		StringCompare.stringTest(s, t);
	}
}
